package App.Model.Project;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;

/**
 * Created by xw on 2018/11/27.
 */

@Entity
@Table(name = "crm_project_client")
public class CrmProjectClient {


    @Column(name = "recid")
    @Id
    private String recid;

    //项目阶段id
    @Column(name = "stageid")
    private int stageid;

    //身份
    @Column(name = "title")
    private String title;
    @Column(name = "projectid")
    private String projectid;

    //名称
    @Column(name = "name")
    private String name;

    //联系人
    @Column(name = "contact")
    private String contact;

    //联系电话
    @Column(name = "phone")
    private String phone;

    //邮箱
    @Column(name = "mail")
    private String mail;

    //委托人类型(自然人:1,非自然人:0)
    @Column(name = "rectype")
    private int rectype;

    //委托人:0, 对方当事人:1
    @Column(name = "persontype")
    private int persontype;

    @Column(name = "titleid")
    private String titleid;

    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }

    public String getProjectid() {
        return projectid;
    }

    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public int getRectype() {
        return rectype;
    }

    public void setRectype(int rectype) {
        this.rectype = rectype;
    }

    public int getPersontype() {
        return persontype;
    }

    public void setPersontype(int persontype) {
        this.persontype = persontype;
    }

    public int getStageid() {
        return stageid;
    }

    public void setStageid(int stageid) {
        this.stageid = stageid;
    }


    public String getTitleid() {
        return titleid;
    }

    public void setTitleid(String titleid) {
        this.titleid = titleid;
    }
}